package com.bw.mvpcore.view

import com.bw.mvpcore.BasePresenter

abstract class BaseMVPActivity<P:BasePresenter<*,*>>:BaseActivity() {
    protected lateinit var mPresenter:P
    init {
        mPresenter=createPresenter()
    }

    abstract fun createPresenter(): P
}